package com.example.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description : 消息实体对象
 * @Author : ZYX
 * @Date : 2023/9/19 16:21
 * @Version : 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MQTTMessage implements Serializable {

    /**
     * MQTT主题
     */
    private String topic;

    /**
     * qos
     */
    private Integer qos = 1;

    /**
     * MQTT内容
     */
    private String content;


}
